#ifndef __LEDTEST_H__
#define __LEDTEST_H__

#include "at32f403a_407_board.h"
#include "at32f403a_407_clock.h"
#include "at32f403a_407_gpio.h"

#define INVERT_TIME 1000
#define RUN_TIME 2000

void led_gpio_init(gpio_type *gpio_x, uint16_t pins,crm_periph_clock_type value);
void flashLed(gpio_type *gpio_x, uint16_t pins);
void flashAllLedInTurn();
void TurnOffLed();
void TurnOn1Led(uint16_t pins);
void TurnOnAllLed();


#endif // !__LEDTEST_H__